package com.github.ecbp.user.service.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;


@ApiModel
@Data
public class GrantResourceDto {
    @ApiModelProperty(value = "权限ID集合")
    private List<Long> permissionIds;

    @ApiModelProperty(value = "更多菜单ID集合")
    private List<Long> menuIds;

    @ApiModelProperty(value = "角色ID", required = true)
    @NotNull
    private Long roleId;

}
